package com.uzai.console.dto.user.wxworkuser;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author liuqi
 * @date 2021年09月01日 15:31
 */
@ApiModel("企业微信用户批量修改参数(多选框选择会员)")
public class WxworkUserUpdateBatchDto extends BaseDto {

    @ApiModelProperty("修改会员余额积分（type=22-修改会员余额积分）")
    private String code;

    @ApiModelProperty("用户ID列表")
    List<Long> idList;

    @ApiModelProperty("修改内容参数")
    private WxworkUserUpdateDto wxworkUserUpdateDto;

    public List<Long> getIdList() {
        return idList;
    }

    public void setIdList(List<Long> idList) {
        this.idList = idList;
    }

    public WxworkUserUpdateDto getWxworkUserUpdateDto() {
        if(wxworkUserUpdateDto == null){
            wxworkUserUpdateDto = new WxworkUserUpdateDto();
        }
        return wxworkUserUpdateDto;
    }

    public void setWxworkUserUpdateDto(WxworkUserUpdateDto wxworkUserUpdateDto) {
        this.wxworkUserUpdateDto = wxworkUserUpdateDto;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
